package com.huidu.bitrade.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.huidu.bitrade.dto.MemberAllParentDto;
import com.huidu.bitrade.dto.MemberParentUserDTO;
import com.huidu.bitrade.entity.Member;
import com.huidu.bitrade.entity.MemberHdc;
import com.huidu.bitrade.vo.ExportVo;

import java.util.List;

public interface NewMemberService extends IService<Member> {

    List<MemberParentUserDTO> findUserAndParent();

    MemberParentUserDTO findUserAndParentById(Long id);

    /**
     * 查询用户和所有推荐人
     * @param id
     * @return
     */
    List<MemberAllParentDto> findAllParentById(List<Long> ids);

    int updateMemberStar(Long memberId,Integer memberStar,Integer memberStarCount);

    List<Long> getUpdateHdcMember();
}
